home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / prefposition.z / prefposition
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn((((3333GGGG))))                                              pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn - specifies the preferred location and size of a graphics
  10.      window
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      vvvvooooiiiidddd pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn((((lllloooonnnngggg xxxx1111,,,, lllloooonnnngggg xxxx2222,,,, lllloooonnnngggg yyyy1111,,,, lllloooonnnngggg yyyy2222))))
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _x_1   expects the x coordinate position (in pixels) of the point at which
  17.           one corner of the window is to be.
  18.  
  19.      _x_2   expects the x coordinate position (in pixels) of the point at which
  20.           the opposite corner of the window is to be.
  21.  
  22.      _y_1   expects the y coordinate position (in pixels) of the point at which
  23.           one corner of the window is to be.
  24.  
  25.      _y_2   expects the y coordinate position (in pixels) of the point at which
  26.           the opposite corner of the window is to be.
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn specifies the preferred location and size of the next
  30.      graphics window opened by wwwwiiiinnnnooooppppeeeennnn.  You specify the location in pixels
  31.      (_x_1, _x_2, _y_1, y2).  Calling wwwwiiiinnnnooooppppeeeennnn activates the condtions specified by
  32.      pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn.
  33.  
  34.      After a window has been opened, its size and position can be changed by
  35.      calling pppprrrreeeeffffppppoooossssiiiittttiiiioooonnnn followed by wwwwiiiinnnnccccoooonnnnssssttttrrrraaaaiiiinnnnttttssss.  (Alternatively,
  36.      wwwwiiiinnnnppppoooossssiiiittttiiiioooonnnn may be used in order to change the size and position of an
  37.      already opened window.)
  38.  
  39.      Note that although prefposition causes the resulting window to be fixed
  40.      in size (not resizable), it will still be possible to move the window.
  41.  
  42. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  43.      To open a window with a given size and position, but which will be
  44.      resizable, use the following:
  45.  
  46.           prefposition
  47.           winopen
  48.           winconstraints
  49.  
  50.      The winconstraints following the winopen will remove the size contraint.
  51.  
  52. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.      winconstraints, winopen, winposition
  54.  
  55. NNNNOOOOTTTTEEEE
  56.      This routine is available only in immediate mode.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.